import { SelectionModel, TextModel } from "../models";

export abstract class BaseView {
  public abstract render () : void;

  protected _textModel: TextModel;
  protected _selectionModel: SelectionModel;
  protected _viewContainer: HTMLElement;

  constructor(textModel: TextModel, selectionModel: SelectionModel, viewContainer: HTMLElement) {
    this._textModel = textModel;
    this._selectionModel = selectionModel;
    this._viewContainer = viewContainer;
  }
}

export default BaseView;